Jasper St. Pierre [Fri, 13 Dec 2013 02:36:36 +0000 (21:36 -0500)]
headerbar: Respect the show-close-button property
Jasper St. Pierre [Fri, 13 Dec 2013 02:40:07 +0000 (21:40 -0500)]
window: Update decorations when updating state
This fixes the maximize button not updating...
Matthias Clasen [Fri, 13 Dec 2013 02:18:11 +0000 (21:18 -0500)]
testtitlebar: Fix initial values
Make sure that the controls show the initial values fo the
headerbar properties, not the other way around.
Matthias Clasen [Fri, 13 Dec 2013 02:12:44 +0000 (21:12 -0500)]
testtitlebar: more tests
Turn this into a GtkApplication with an app menu.
Allow to override the gtk-shell-shows-app-menu setting
and the decoration-button-layout style property.
Jasper St. Pierre [Wed, 11 Dec 2013 06:26:34 +0000 (01:26 -0500)]
headerbar: Support all kinds of CSD decorations
Move the gtkwindow.c CSD code into GtkHeaderBar, and make it triggerable
by the show-close-button property, and remove shows-fallback-app-menu.
https://bugzilla.gnome.org/show_bug.cgi?id=720233
Matthias Clasen [Fri, 13 Dec 2013 00:24:56 +0000 (19:24 -0500)]
GtkHeaderBar: treat "" as 'no subtitle'
This is one of the few cases where it makes some sense to blur
the line between and empty string and NULL: without this, it is
hard to reset the subtitle e.g. from a builder file. And we
have the has-subtitle property now to enforce subtitle size
allocation independently.
Volker Sobek [Thu, 12 Dec 2013 23:41:00 +0000 (17:41 -0600)]
GtkFileChooser: Don't fill location_entry if we just populated the file list
Only fill the location entry with the file name of the tree view's
selected file when the selection was done by the user.
When the file chooser's action is GTK_FILE_CHOOSER_ACTION_OPEN, it
selects the first file in the tree view once loading has finished. For
this case we don't want it to insert the file name in the location
entry, as it hinders efficient navigation using the location entry. To
achieve this, use a priv flag to keep track of whether the
selection-changed signal was caused by the file chooser itself.
https://bugzilla.gnome.org/show_bug.cgi?id=386569
Matthias Clasen [Thu, 12 Dec 2013 21:55:59 +0000 (16:55 -0500)]
Make testtitlebar more testy
Now that the nice titlebar example is in gtk3-demo, we can
use testtitlebar as an actual testbed for headerbar stuff.
This immediately reveals size allocation issues when titlebar
widgets change size.
Matthias Clasen [Thu, 12 Dec 2013 21:21:59 +0000 (16:21 -0500)]
gtk-demo: Use title case consistently
Matthias Clasen [Thu, 12 Dec 2013 21:09:34 +0000 (16:09 -0500)]
Add a header bar example to gtk-demo
This is basically standalone the testtitlebar example, turned
into a demo.
Daniel Mustieles [Thu, 12 Dec 2013 10:17:42 +0000 (11:17 +0100)]
Updated Spanish translation
Volker Sobek [Thu, 12 Dec 2013 01:07:24 +0000 (02:07 +0100)]
testtitlebar: Fix -Wunused-variable warning
GtkWidget *title is no longer used.
https://bugzilla.gnome.org/show_bug.cgi?id=720296
Volker Sobek [Wed, 11 Dec 2013 23:34:42 +0000 (00:34 +0100)]
GtkFileChooserDefault: Remove unused struct field
The field changing_folder is no longer used anywhere.
https://bugzilla.gnome.org/show_bug.cgi?id=720293
Jasper St. Pierre [Wed, 11 Dec 2013 06:28:28 +0000 (01:28 -0500)]
headerbar: Remove unused private API
Don't remove gtkheaderbarprivate.h, even though it's empty,
since we'll add more to it soon.
https://bugzilla.gnome.org/show_bug.cgi?id=720233
Jasper St. Pierre [Thu, 12 Dec 2013 00:27:58 +0000 (19:27 -0500)]
wayland: Fix order of xdg-shell requests
Yosef Or Boczko [Wed, 11 Dec 2013 11:37:38 +0000 (13:37 +0200)]
Updated Hebrew translation
Fran Diéguez [Thu, 28 Nov 2013 23:35:40 +0000 (00:35 +0100)]
Updated Galician translations
Jehan [Wed, 11 Dec 2013 01:01:48 +0000 (14:01 +1300)]
Gettext comment for "default:LTR" must be before the string
https://bugzilla.gnome.org/show_bug.cgi?id=720096
Matthias Clasen [Wed, 11 Dec 2013 04:19:36 +0000 (23:19 -0500)]
Simplify a check
Whenever titlebar is set, title_box is pointing to the
same widget, so we can just always use title_box here.
Pointed out by Jasper St. Pierre.
Matthias Clasen [Wed, 11 Dec 2013 04:02:33 +0000 (23:02 -0500)]
Trivial typo fix
Matthias Clasen [Wed, 11 Dec 2013 04:00:04 +0000 (23:00 -0500)]
Use ::has-subtitle in testtitlebar
This also gets simplified.
Matthias Clasen [Wed, 11 Dec 2013 03:58:57 +0000 (22:58 -0500)]
Use ::has-subtitle when constructing CSD titlebars
GtkWindow was constructing a custom title label to
avoid the size reservation for a subtitle. This is
now easier with the ::has-subtitle property.
Matthias Clasen [Wed, 11 Dec 2013 03:57:13 +0000 (22:57 -0500)]
GtkHeaderBar: Add a ::has-subtitle property
It is a fairly common case to just want a title, and not
reserve extra space for a subtitle. This is much easier
to get right by setting a boolean property than by
constructing a custom title widget.
Matthias Clasen [Wed, 11 Dec 2013 02:05:02 +0000 (21:05 -0500)]
Fix a segfault in the event axes demo
Seems that pointer_info can be NULL, after all.
Matthias Clasen [Wed, 11 Dec 2013 01:45:42 +0000 (20:45 -0500)]
Update headerbar title from window title
This removes a possible source of confusion in our API.
The title is now synchronized both ways between the window
and the headerbar.
https://bugzilla.gnome.org/show_bug.cgi?id=720067
Matthias Clasen [Tue, 10 Dec 2013 23:44:26 +0000 (18:44 -0500)]
Sync the window title initially
When setting a custom titlebar that happens to be a GtkHeaderBar,
we connect to notify::title to pick up title changes on the headerbar,
but we forgot to sync the title initially. Fix that.
Matthias Clasen [Tue, 10 Dec 2013 23:21:58 +0000 (18:21 -0500)]
Disconnect signal handlers
We connect to notify::title on app-provided titlebars, but
we forgot to disconnect the signal handler when unsetting
the titlebar.
Matthias Clasen [Tue, 10 Dec 2013 21:27:24 +0000 (16:27 -0500)]
Add a function to determine the text direction
This function can be used in the rare cases where the locale
has to be changed after gtk_init(). Based on a patch
by Jehan <jehan@girinstud.io>.
https://bugzilla.gnome.org/show_bug.cgi?id=720096
William Jon McCann [Mon, 9 Dec 2013 08:55:08 +0000 (09:55 +0100)]
demo: only set transient if demo returns a toplevel
William Jon McCann [Mon, 9 Dec 2013 08:26:08 +0000 (09:26 +0100)]
demo: put run button on the left
It is a bit annoying to have to go over to the right side to click it.
Jasper St. Pierre [Sat, 7 Dec 2013 18:19:59 +0000 (13:19 -0500)]
wayland: Update to latest xdg-shell.xml
Jasper St. Pierre [Sat, 7 Dec 2013 18:14:36 +0000 (13:14 -0500)]
wayland: Make sure to call use_unstable_version
Benjamin Otte [Sat, 7 Dec 2013 00:29:56 +0000 (01:29 +0100)]
button: Allow :hover on insensitive buttons
You can still hover a mouse on insensitive elements; it's up to the
theme to disable that.
This is in line with the HTML/CSS interpretation of :hover.
Insensitive elements still cannot be clicked.
https://bugzilla.gnome.org/show_bug.cgi?id=719486
Benjamin Otte [Fri, 6 Dec 2013 18:21:27 +0000 (19:21 +0100)]
gdk: Add some return_if_fail() warnings
so we have a better chance of catching the correct cause of bugs like
https://bugzilla.gnome.org/show_bug.cgi?id=719977
Benjamin Otte [Fri, 6 Dec 2013 18:15:24 +0000 (19:15 +0100)]
filechooser: Don't crash if invalid thumbnails exist
Failing to load a thumbnail returns a NULL pixbuf. Since the hidpi
patches this wasn't checked when creating the surface. Result: assertion
failure.
https://bugzilla.gnome.org/show_bug.cgi?id=719977
Torsten Schönfeld [Fri, 6 Dec 2013 22:53:41 +0000 (23:53 +0100)]
gtkradio*: add (allow-none) annotations were appropriate
https://bugzilla.gnome.org/show_bug.cgi?id=679563
Carlos Garnacho [Wed, 27 Nov 2013 16:53:33 +0000 (17:53 +0100)]
demo: Add demo for advanced event information management
This demo condenses the essentials of advanced management of
input events. Depending on the information available in input events,
this demo will try to represent as much information as possible for
those.
https://bugzilla.gnome.org/show_bug.cgi?id=719987
Matthias Clasen [Thu, 5 Dec 2013 14:08:35 +0000 (09:08 -0500)]
docs: Add a missing Since: tag
Matthias Clasen [Thu, 5 Dec 2013 14:07:19 +0000 (09:07 -0500)]
Don't distribute generated sources
This was causing problems when building 3.10.6 against an older
wayland.
Lars Uebernickel [Wed, 4 Dec 2013 18:45:30 +0000 (19:45 +0100)]
GtkMenuItem: only set 'separator' class on the separator line
To make the separator line distinguishable from the widget's normal
border from css.
https://bugzilla.gnome.org/show_bug.cgi?id=719861
Matthias Clasen [Thu, 5 Dec 2013 05:48:08 +0000 (00:48 -0500)]
Fix make dist
Carlos Garnacho [Wed, 4 Dec 2013 11:49:02 +0000 (12:49 +0100)]
x11: Handle XINotifyPassiveGrab/Ungrab in focus events
The focus handling code is shared between core and XI2 implementations,
so just handle the extra XI2 types for passive grabs. Those must be dealt
with in the same way than active grabs. Focus events with this crossing
mode could happen currently through the XIGrabFocusIn passive grab.
https://bugzilla.gnome.org/show_bug.cgi?id=719762
Carlos Garnacho [Wed, 4 Dec 2013 11:34:31 +0000 (12:34 +0100)]
x11: Handle all XI2 crossing mode values in switch
This fixes potential assertions if a GTK+ app gets to receive
a XINotifyPassiveGrab/Ungrab pointer crossing event, currently
triggerable by XIGrabEnter passive grabs.
http://bugzilla.gnome.org/show_bug.cgi?id=719762
Jasper St. Pierre [Wed, 4 Dec 2013 20:08:25 +0000 (15:08 -0500)]
recentchooserdefault: Clean up load_id when we have nothing left to do
Returning FALSE from a GSourceFunc will implicitly remove it, so we need
to do this in order to make the new g_source_remove happy.
Piotr Drąg [Wed, 4 Dec 2013 18:17:50 +0000 (19:17 +0100)]
Updated POTFILES.skip
Lionel Landwerlin [Wed, 4 Dec 2013 11:45:46 +0000 (11:45 +0000)]
window: enable client side decorations deactivation with wayland backend
Matthias Clasen [Wed, 4 Dec 2013 16:21:42 +0000 (11:21 -0500)]
Revert "gdkwindow-x11: Don't set WM_TAKE_FOCUS if accept_focus is FALSE"
This reverts commit
809aab2c8ec88c7b10254a948ba8754a766b1f7c.
Jehan [Sat, 23 Nov 2013 05:35:18 +0000 (18:35 +1300)]
Bug 712536 - Themes with gap_(start|end)_file but no actual file crash
Code factorization in commit
34fd123 reintroduced bug fixed in
0d396ab
with non-equivalent factorized tests.
Benjamin Otte [Wed, 4 Dec 2013 09:37:31 +0000 (10:37 +0100)]
treeview: Don't draw a background for the bin window
The bin window's background would have to be drawn in the bin window's
size and inside the pixel cache draw function to not cause transparency
issues.
But because it's unnecessary as the view window draws the same
background, we just skip it.
https://bugzilla.gnome.org/show_bug.cgi?id=709027
Victor Ibragimov [Wed, 4 Dec 2013 09:13:13 +0000 (14:13 +0500)]
Tajik translation updated
Matthias Clasen [Wed, 4 Dec 2013 04:30:52 +0000 (23:30 -0500)]
gtk-demo: fix colorchooser example
A nested dialog on top of a modal dialog must itself be modal,
otherwise it doesn't get any input.
Chun-wei Fan [Wed, 4 Dec 2013 00:57:43 +0000 (08:57 +0800)]
GDK-Win32: Ensure sources use UNIX line endings
This makes things more consistent with the other sources and makes patches
easier to apply cleanly.
Chun-wei Fan [Wed, 4 Dec 2013 00:51:39 +0000 (08:51 +0800)]
MSVC Projects: Use UNIX Line endings
...for all files except the README.txt and the .sln files, which have to
have DOS/Windows line endings. This makes application of patches, when
applicable, easier.
William Jon McCann [Tue, 3 Dec 2013 17:10:29 +0000 (12:10 -0500)]
file-chooser: add a sort-directories-first gsetting
Add an option to sort folders before files in order to be
more constistent with the file manager.
Yosef Or Boczko [Tue, 3 Dec 2013 16:44:07 +0000 (18:44 +0200)]
demo: Fix the size of the run button
William Jon McCann [Tue, 3 Dec 2013 02:47:55 +0000 (21:47 -0500)]
demo: make demo windows transient to the main window
This prevents them getting lost behind.
William Jon McCann [Tue, 3 Dec 2013 01:35:57 +0000 (20:35 -0500)]
demo: Add a GtkHeaderBar
William Jon McCann [Tue, 3 Dec 2013 02:31:13 +0000 (21:31 -0500)]
demo: change application name of inner demo
William Jon McCann [Tue, 3 Dec 2013 01:02:56 +0000 (20:02 -0500)]
demo: expand notebook tabs
William Jon McCann [Tue, 3 Dec 2013 00:42:04 +0000 (19:42 -0500)]
demo: Port to GtkApplication
And use GtkBuilder to construct interface.
Lars Uebernickel [Sat, 9 Nov 2013 00:15:33 +0000 (01:15 +0100)]
gtk object tests: run under local environment
Make sure that the tests don't access the host's session bus or
installed gsettings schemas.
Also disable tests for some classes that leak a connection to the
session bus.
https://bugzilla.gnome.org/show_bug.cgi?id=711715
Jonh Wendell [Mon, 2 Dec 2013 18:32:54 +0000 (16:32 -0200)]
toolbar: draw a full box for separators
This allows themes do whatever they want as separators, with
paddings, borders and backgrounds.
If "wide-separators" property is true, then, instead of just draw
a frame, also render its background, and take into account the
padding property for its limits.
https://bugzilla.gnome.org/show_bug.cgi?id=719713
Benjamin Otte [Mon, 2 Dec 2013 20:24:30 +0000 (21:24 +0100)]
button: Call the new function
This simplifies a lot of code and doesn't require hacks setting
in_button anymore.
Benjamin Otte [Mon, 2 Dec 2013 12:41:15 +0000 (13:41 +0100)]
button: Split out function
This is in preparation of the following cleanup commits.
Benjamin Otte [Mon, 2 Dec 2013 20:21:22 +0000 (21:21 +0100)]
button: Don't emit a signal on broken grabs
We don't emit one on grab notify, so we don't want one for broken grabs
either.
Philip Withnall [Mon, 2 Dec 2013 10:42:00 +0000 (10:42 +0000)]
gdkwindow: Remove an unused assignment
The show variable is assigned to in both branches of an if block a
little further down.
Found with scan-build.
https://bugzilla.gnome.org/show_bug.cgi?id=712760
Philip Withnall [Mon, 2 Dec 2013 10:41:38 +0000 (10:41 +0000)]
gdkwindow: Remove an unused assignment
scale is only used if HAVE_CAIRO_SURFACE_SET_DEVICE_SCALE is defined.
Found with scan-build.
https://bugzilla.gnome.org/show_bug.cgi?id=712760
Philip Withnall [Tue, 26 Nov 2013 15:06:48 +0000 (15:06 +0000)]
gtkprintunixdialog: Remove a redundant (GFile != NULL) check
g_file_new_for_uri() is guaranteed to return a non-NULL value, so this
check was redundant, and was confusing the static analyser into
returning a false positive, where it thought the file could be NULL.
https://bugzilla.gnome.org/show_bug.cgi?id=712760
Philip Withnall [Wed, 20 Nov 2013 17:37:15 +0000 (17:37 +0000)]
gtktreeselection: Eliminate a dead assignment
This is technically a dead assignment, but is nice to retain for
clarity. Moving it to the variable definition shuts scan-build up.
https://bugzilla.gnome.org/show_bug.cgi?id=712760
Philip Withnall [Wed, 20 Nov 2013 17:36:16 +0000 (17:36 +0000)]
gtkthemingengine: Eliminate a dead assignment
This is technically a dead assignment, but is nice to retain for
clarity. Moving it to the variable definition shuts scan-build up.
https://bugzilla.gnome.org/show_bug.cgi?id=712760
Philip Withnall [Wed, 20 Nov 2013 17:35:04 +0000 (17:35 +0000)]
gtkthemingengine: Fix a definite use of an uninitialised variable
At this point, segments[1] is always uninitialised, and is used to
initialise itself. Looking at the code in the branch above, this appears
to have been a typo from segments[0], as segments[1] seems to typically
be 2 * segments[0].
Found by scan-build.
https://bugzilla.gnome.org/show_bug.cgi?id=712760
Philip Withnall [Wed, 20 Nov 2013 17:33:03 +0000 (17:33 +0000)]
gtkpapersize: Reformat #if preprocessor commands
This eliminates some false positive warnings from scan-build, which was
not interpreting the #ifs and hence warning about unbalanced #endifs.
https://bugzilla.gnome.org/show_bug.cgi?id=712760
Philip Withnall [Wed, 20 Nov 2013 17:31:28 +0000 (17:31 +0000)]
gtkmenu: Fix potential use of uninitialised variables
The child_height out variable is only valid if compute_child_offset()
returns TRUE.
Found by scan-build.
https://bugzilla.gnome.org/show_bug.cgi?id=712760
Philip Withnall [Wed, 20 Nov 2013 17:25:25 +0000 (17:25 +0000)]
gtktreeviewaccessible: Fix potential uses of uninitialised variables
Found with scan-build.
https://bugzilla.gnome.org/show_bug.cgi?id=712760
Matthias Clasen [Mon, 2 Dec 2013 02:45:17 +0000 (21:45 -0500)]
GtkRevealer: Fix size allocation with disabled animation
When animation is disabled, we use 'none' as the effective
transition type. So far, this transition type failed to change
the size request, causing the revealer to always take up the
space of the child, even when the child is not shown.
https://bugzilla.gnome.org/show_bug.cgi?id=719568
Matthias Clasen [Sun, 1 Dec 2013 23:33:38 +0000 (18:33 -0500)]
Fix the AtkImage implementation for GtkIconView items
We were returning uninitialized values for image size and
position.
Found in a pile of patches in
https://bugzilla.gnome.org/review?bug=712760
Matthias Clasen [Sun, 1 Dec 2013 22:54:00 +0000 (17:54 -0500)]
Code cleanup
Don't compare booleans to FALSE.
Simon Feltman [Thu, 28 Nov 2013 00:54:09 +0000 (16:54 -0800)]
annotations: Set GtkTreeModelFilterModifyFunc value argument to out
Use (out caller-allocates) annotation for the "value" argument to
GtkTreeModelFilterModifyFunc. This is needed because GI based language
bindings coerce GValue input args into native types and there is no
opportunity to set the value within the GValue itself.
https://bugzilla.gnome.org/show_bug.cgi?id=719460
Marco Brito [Sat, 30 Nov 2013 11:36:00 +0000 (11:36 +0000)]
Add class toolbar before the style context is created for the widget.
The call to gtk_button_set_relief() in gtk_toolbar_init() indirectly
used the style context of the half-created widget, before we had a
chance to add the "toolbar" style class to it.
Reorder gtk_toolbar_init() to ensure that the proper style class is
set first.
https://bugzilla.gnome.org/show_bug.cgi?id=719595
Christian Persch [Fri, 29 Nov 2013 12:13:34 +0000 (13:13 +0100)]
infobar: Fix visibility when enable-animations=false
When enable-animations is false, the revealer's child-revealed property is
notified immediately, so make sure to connect to it before toggling the
revealer.
https://bugzilla.gnome.org/show_bug.cgi?id=719510
Aaron Hamilton [Thu, 28 Nov 2013 07:26:00 +0000 (07:26 +0000)]
Correct the deprecation annotation for gtk_widget_modify_bg
It was pointing to a nonexisting function.
https://bugzilla.gnome.org/show_bug.cgi?id=719469
Matthias Clasen [Sun, 1 Dec 2013 21:54:20 +0000 (16:54 -0500)]
Don't use depeprecated api
GtkPrintUnixDialog and testtitlebar were still using
gtk_widget_set_margin_left/right. Switch them over to
gtk_widget_set_margin_start/end.
Matthias Clasen [Sun, 1 Dec 2013 21:19:17 +0000 (16:19 -0500)]
message dialog: Make labels wrap at a reasonable length
Several labels in GtkMessageDialog were set to wrap, but
did not set max-width-chars. Fix that.
Matthias Clasen [Sun, 1 Dec 2013 21:18:07 +0000 (16:18 -0500)]
about dialog: Make labels wrap at reasonable length
Several labels in GtkAboutDialog are set to wrap, but
don't set a value for max-width-chars. Fix that.
Matthias Clasen [Sun, 1 Dec 2013 18:58:39 +0000 (13:58 -0500)]
places sidebar: Use a symbolic desktop icon
This was pointed out in
https://bugzilla.gnome.org/show_bug.cgi?id=719505
Chun-wei Fan [Fri, 29 Nov 2013 01:53:49 +0000 (09:53 +0800)]
build/win32/vs*/README.txt: Re-word a bit
Use PATH rather than path to make things clearer
Juan Pablo Ugarte [Thu, 28 Nov 2013 20:01:18 +0000 (17:01 -0300)]
GtkAboutDialog: fixed calling gtk_about_dialog_set_logo_icon_name()
with a NULL icon_name. Now it will actually use the default
window icon set as mention in the docs
Juan Pablo Ugarte [Thu, 28 Nov 2013 19:56:11 +0000 (16:56 -0300)]
GtkIconCache: find_image_offset() return 0 if icon_name is NULL.
This avoid a crash calling gtk_about_dialog_set_logo_icon_name() with a NULL icon_name.
Manuel Bachmann [Wed, 27 Nov 2013 10:14:16 +0000 (11:14 +0100)]
Fix CSD check for Win32
Win32 does not have alpha channel currently ; fix the check
for this, so trying to enable CSDs on this platform will
not "succeed" and crash the app anymore.
Partially fixes gtk3-widget-factory.
Chun-wei Fan [Wed, 27 Nov 2013 10:05:32 +0000 (18:05 +0800)]
Visual C++ Projects: Add rules to generate GTK DBus sources
Since commit
7c2a5072 the gtkdbusgenerated.[c|h] are not included in the
dist tarball and thus have to be generated, which broke the Visual C++
builds.
This patch adds property sheets and custom build rules for the Visual C++
projects so that gtkdbusgenerated.[c|h] will be generated upon building the
GTK+ DLL sources.
This also tells people building GTK+ from the projects that they need to
have Python 2/3 installed and the Python interpretor needs to be in their
PATH before building GTK+ from the projects.
Chun-wei Fan [Wed, 27 Nov 2013 08:46:45 +0000 (16:46 +0800)]
Update GDK-Broadway MSVC Projects
-Improve optimization a bit for broadwayd, by enabling link time code
generation
-Add PlatformToolset tag for the Visual C++ 2010 projects, to ease
transition to Visual C++ 2012/2013
Shantha kumar [Wed, 27 Nov 2013 08:10:06 +0000 (13:40 +0530)]
Tamil Translations Updated
Matthias Clasen [Thu, 21 Nov 2013 00:40:17 +0000 (19:40 -0500)]
Don't distribute gdbus-generated sources
These are supposed to be regenerated at build time,
to avoid dependencies on the dist-systems glib version.
Ryan Lortie [Fri, 15 Nov 2013 14:32:19 +0000 (09:32 -0500)]
defaultvalue test: ignore show-desktop
Ignore the "show-desktop" property on GtkPlacesSidebar for the
defaultvalue test.
Currently, "make check" is passing because it runs the test under a xvfb
with no XSETTINGS provider, so we see the Gtk default value. No matter
what we set the default value to in Gtk, however, there will be some
desktop environment in which someone running the installed test outside
of an xvfb will get the wrong result. Best to ignore it.
https://bugzilla.gnome.org/show_bug.cgi?id=712302
Matthias Clasen [Tue, 26 Nov 2013 18:54:44 +0000 (13:54 -0500)]
Change the default for "show-desktop" back to TRUE
Change the GtkSettings default for "shell-shows-desktop" back to TRUE
and also change the default value of the "show-desktop" property on
GtkPlacesSidebar so that the defaultvalue test passes.
https://bugzilla.gnome.org/show_bug.cgi?id=712302
Michael Wood [Mon, 25 Nov 2013 15:59:41 +0000 (15:59 +0000)]
bindings: Fix stray semicolons in CSS example for bindings
Semicolon shouldn't be at the end of binding set
Benjamin Otte [Mon, 25 Nov 2013 20:11:56 +0000 (21:11 +0100)]
x11: Don't crash if a window is on an unmanaged screen
_gdk_x11_display_screen_for_xrootwin() can return NULL. If so, return
NULL from gdk_x11_window_foreign_new_for_display().
https://bugzilla.gnome.org/show_bug.cgi?id=709716
Carlos Garnacho [Fri, 22 Nov 2013 17:33:02 +0000 (18:33 +0100)]
x11: keep track of the screen pixel size by calculating the bounding box of monitors
This is so we always have the latest information given by XRandR (or other), and not
rely on Core protocol information that might not have been updated yet.
This is specially visible when a monitor is connected (less frequent) or disconnected
(much more frequent), callbacks on GdkScreen::monitors-changed that call
gdk_screen_get_width/height() could get the screen size previous to the monitor
rearrangement.
So in order to fix this, keep track of the latest monitors information, and calculate
the bounding box in order to know the screen size.
https://bugzilla.gnome.org/show_bug.cgi?id=715029
Marek Kasik [Fri, 22 Nov 2013 10:31:25 +0000 (11:31 +0100)]
printing: Fix memory leak when listing Avahi printers
Return values of g_variant_get_child_value() were not unreffed
correctly together with one value returned by g_variant_get().
Use g_variant_get_data() instead of copying each byte separately.
https://bugzilla.gnome.org/show_bug.cgi?id=712799
Manuel Bachmann [Mon, 25 Nov 2013 03:47:51 +0000 (04:47 +0100)]
Broadway - Fix UNIX/Win32 detection
Finally fix this check so unnecessary headers aren't needed.